def getnum():
    nums = []
    innums = input("请输入数字（直接输入回车退出）：")
    while innums !="":
        nums.append(eval(innums))
        innums = input("请输入数字（直接输入回车退出）：")
    return nums

def mean(numbers):
    s = 0.0
    for num in numbers:
        s = s+num
    return s / len(numbers)

def main():
    list = getnum()
    a = mean(list)
    for num in list:
        if list !="":
            if num > a:
                print("较重的体重：{}".format(num))


main()





